package demo1;

public class SingleLazy {
    private static SingleLazy instance=null;
    private SingleLazy(){}
    public static SingleLazy get(){
        if (instance==null){
            instance=new SingleLazy();
        }
        return instance;
    }
}
